import ajax from '@/utils/ajax';

export function doList(pageSize, pageNum) {
  return ajax({
    url: '/protal/home/newProductList',
    params: { pageSize: pageSize, pageNum: pageNum }
  });
}

export function searchListParams(params) {
  return ajax({
    url: '/protal/home/newProductList',
    params
  });
}
